$OpenBSD: patch-module_idoutils_src_db_c,v 1.2 2015/03/30 22:43:42 sthen Exp $
--- module/idoutils/src/db.c.orig	Mon Mar 30 09:38:53 2015
+++ module/idoutils/src/db.c	Mon Mar 30 23:28:35 2015
@@ -2886,7 +2886,7 @@ int ido2db_db_update_config_dump(ido2db_idi *idi, int 
 	int result = IDO_ERROR;
 	char * buf = NULL;
 	int progress = 0;
-	unsigned int instance_id;
+	unsigned long instance_id;
 	ido2db_log_debug_info(IDO2DB_DEBUGL_PROCESSINFO, 2, "ido2db_db_update_config_dump() in_progress=%d\n", in_progress);
 	progress=(in_progress == IDO_TRUE) ? 1 : 0;
 	instance_id=idi->dbinfo.instance_id;
